package com.jiaai.cloud.wx.mapper;

import com.jiaai.cloud.wx.entity.TWxshop;
import com.jiaai.cloud.wx.entity.TWxuser;
import com.baomidou.mybatisplus.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * <p>
  *  Mapper 接口
 * </p>
 *
 * @author 佳爱网络科技
 * @since 2017-08-22
 */
@Mapper
public interface TWxuserMapper extends BaseMapper<TWxuser> {

    TWxuser selectUserByOpenID(String openID);

    void insertBackUserid(TWxuser tWxuser);

    List<TWxshop> selectUserShops(Integer userid);
}